package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AgentUserMessageDao;
import com.vf.admin.client.dao.AppAuthDao;
import com.vf.admin.client.service.AgentUserMessageService;
import com.vf.admin.client.service.AppAuthService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AgentUserMessage;
import com.vf.admin.miaodong.entity.AppAuth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AgentUserMessageServiceImpl implements AgentUserMessageService {

    @Autowired
    AgentUserMessageDao agentUserMessageDao;

    @Override
    public List<AgentUserMessage> page(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return agentUserMessageDao.page(paraMap, splitPage);
    }

    @Override
    public void readMessage(String ids) {
        agentUserMessageDao.readMessage(ids);
    }

    @Override
    public void add(AgentUserMessage params) {
        agentUserMessageDao.add(params);
    }

}
